﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="user_Register" %>

<%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            height: 660px;
            margin-bottom: 0px;
        }
        .auto-style2 {
            width: 100%;
        }
        .auto-style3 {
            margin-left: 440px;
            margin-top: 95px;
        }
        .auto-style4 {
            height: 586px;
        }
        .auto-style5 {
            width: 100%;
            height: 454px;
            margin-left: 0px;
        }
        .auto-style6 {
            text-align: center;
            height: 55px;
        }
        .auto-style12 {
            font-size: small;
        }
        .auto-style13 {
            margin-left: 175px;
        }
        .auto-style21 {
            font-size: xx-small;
            color: #FF0000;
        }
        .auto-style28 {
            font-size: small;
            color: #FF3300;
        }
        .auto-style36 {
            font-size: xx-small;
            color: #FF3300;
        }
        .auto-style50 {
            font-size: small;
            font-weight: bold;
        }
        .auto-style54 {
            font-size: small;
            height: 50px;
        }
        .auto-style57 {
            height: 50px;
            width: 70px;
        }
        .auto-style58 {
            width: 102px;
            font-size: x-small;
            text-align: right;
            height: 50px;
        }
        .auto-style59 {
            width: 199px;
            height: 50px;
        }
        .auto-style60 {
            color: #FF0000;
        }
    </style>
</head>
<body style="height: 660px">
    <form id="form1" runat="server">
        <div class="auto-style1" style="background-image: url('../picture/bg1.jpg')" >
            <table class="auto-style2">
                <tr>
                    <td class="auto-style4">
                        <asp:Panel ID="Panel1" runat="server" BackColor="#F7F7DE" CssClass="auto-style3" Height="453px" Width="445px">
                            <table class="auto-style5">
                                <tr style="background-color:gray">
                                    <td colspan="3" style="font-size: large;color:white;" class="auto-style6">客户注册</td>
                                </tr>
                                <tr>
                                    <td class="auto-style58">用户名：</td>
                                    <td class="auto-style59">
                                        <strong>
                                        <asp:TextBox ID="yhm" runat="server" CssClass="auto-style50" Width="180px"></asp:TextBox>
                                        </strong>
                                        <span class="auto-style28">*</span></td>
                                    <td class="auto-style57">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="yhm" CssClass="auto-style21" ErrorMessage="请输入用户名！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style58">密码：</td>
                                    <td class="auto-style59">
                                        <asp:TextBox ID="mm" runat="server" CssClass="auto-style12" TextMode="Password" Width="180px"></asp:TextBox>
                                        <span class="auto-style28">*</span></td>
                                    <td class="auto-style57">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="mm" CssClass="auto-style21" ErrorMessage="请输入密码！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style58">确认密码：</td>
                                    <td class="auto-style59">
                                        <asp:TextBox ID="qrmm" runat="server" CssClass="auto-style12" Width="179px" TextMode="Password"></asp:TextBox>
                                        <span class="auto-style28">*</span></td>
                                    <td class="auto-style57">
                                        <h5>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="mm" ControlToValidate="qrmm" CssClass="auto-style36" ErrorMessage="密码输入不一致！"></asp:CompareValidator>
                                        </h5>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style58">手机号：</td>
                                    <td class="auto-style59">
                                        <asp:TextBox ID="sjh" runat="server" CssClass="auto-style12" Width="180px"></asp:TextBox>
                                        <span class="auto-style28">*</span></td>
                                    <td class="auto-style57">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="sjh" CssClass="auto-style21" ErrorMessage="请输入手机号！"></asp:RequiredFieldValidator>
                                        <br />
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="sjh" CssClass="auto-style21" ErrorMessage="手机号输入格式不正确！" ValidationExpression="1\d{10}"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style54" colspan="3">
                                        <asp:Button ID="zhuce" runat="server" CssClass="auto-style13" OnClick="zhuce_Click" Text="注册" Width="94px" />
                                        <asp:Label ID="Label1" runat="server" Text="Label" Visible="False" CssClass="auto-style60"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
